
// This is where we will manage the boulder
// Josh made this.
#ifndef BOULDER_H
#define BOULDER_H


#include "Boulder.h"
#include "TextureMap.h"
#include "object.h"
#include "Factory.h"
#include "SFML\Graphics.hpp"
#include "SFML\Window.hpp"



class BoulderObject : public Object
{
protected:

	BoulderObject()
	{
		boulderSprite = sf::Sprite(*TT::TextureLibrary[arrayText[0]]);
		boulderSprite.setPosition(1110, 290);
	}

	void Render(); // Delaring he Render function.

	void Update(); // Declaring the Update function.

public:
	static BoulderObject * Create(SFML_TEXTURE_HPP)
	{
		BoulderObject *myObject = new BoulderObject();
		Factory::AddObject(myObject);
		myObject->thisType = Object::Boulder;
		return myObject;
	}

	static sf::Texture *boulderTex;
	sf::Sprite boulderSprite;
};


#endif // BOULDER_H